// vite.config.ts
import { defineConfig } from "file:///C:/phpstudy_pro/WWW/V/back/node_modules/vite/dist/node/index.js";
import vue from "file:///C:/phpstudy_pro/WWW/V/back/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import Pages from "file:///C:/phpstudy_pro/WWW/V/back/node_modules/vite-plugin-pages/dist/index.mjs";

// src/style.js
import axios from "file:///C:/phpstudy_pro/WWW/V/back/node_modules/axios/index.js";
import { ElMessage } from "file:///C:/phpstudy_pro/WWW/V/back/node_modules/element-plus/es/index.mjs";
import Cookie from "file:///C:/phpstudy_pro/WWW/V/back/node_modules/js-cookie/dist/js.cookie.mjs";
var tokenValue = Cookie.get("UUID");

// vite.config.ts
var vite_config_default = defineConfig({
  plugins: [
    vue(),
    Pages({
      dirs: "src/views",
      exclude: ["**/components/*.vue"]
    })
  ],
  server: {
    host: "localhost",
    port: 5173,
    proxy: {
      "/api": {
        target: "http://localhost:80/V/api/public/admin.php",
        headers: { "token": "34n0o08qo9065468sonss2srrr17462s!@#$%^&*;~`/*-ZwNlZl0kZF0kZPNkZwbjZwb0At==!@#$%^&*;~`/*-2023-11-10+12%3N02%3N46!@#$%^&*;~`/*-rn8rr8sqp00osn2o0110o25sp0o5998p6rr100n6" },
        changeOrigin: true,
        rewrite: (path) => path.replace(/^\/api/, "")
      }
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiLCAic3JjL3N0eWxlLmpzIl0sCiAgInNvdXJjZXNDb250ZW50IjogWyJjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfZGlybmFtZSA9IFwiQzpcXFxccGhwc3R1ZHlfcHJvXFxcXFdXV1xcXFxWXFxcXGJhY2tcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfZmlsZW5hbWUgPSBcIkM6XFxcXHBocHN0dWR5X3Byb1xcXFxXV1dcXF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AgICAgICAgICAgICAgICAgIH0pXHJcbiAgICAgICAgICAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgICAgICAgICAgICAgRWxNZXNzYWdlKHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgIG1lc3NhZ2U6IHJlcy5kYXRhLm1zZyxcclxuICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGU6ICdlcnJvcicsXHJcbiAgICAgICAgICAgICAgICAgICAgfSlcclxuICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgfSlcclxufVxyXG4vKipcclxuICogXHU1M0Q2XHU2RDg4XHU2NTg3XHU0RUY2XHU0RTBBXHU0RjIwXHJcbiAqIEBhdXRob3IgTFxyXG4gKi9cclxuZXhwb3J0IGFzeW5jIGZ1bmN0aW9uIENsb3NlVXBsb2FkKGRhdGEpIHtcclxuICAgICByZXR1cm4gYXdhaXQgYXhpb3MucG9zdCgnL2FwaS9VcGxvYWQvQ2xvc2VVcGxvYWQnLCBkYXRhLCB7IFwiQ29udGVudC1UeXBlXCI6IFwibXVsdGlwYXJ0L2Zvcm0tZGF0YVwiIH0pXHJcbiAgICAgICAgICAudGhlbigocmVzKSA9PiB7XHJcbiAgICAgICAgICAgICAgIGlmIChyZXMuZGF0YS5jb2RlID09IDIwMCkge1xyXG4gICAgICAgICAgICAgICAgICAgIEVsTWVzc2FnZSh7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICBtZXNzYWdlOiByZXMuZGF0YS5tc2csXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlOiAnc3VjY2VzcycsXHJcbiAgICAgICAgICAgICAgICAgICAgfSlcclxuICAgICAgICAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgICAgICAgICAgICBFbE1lc3NhZ2Uoe1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgbWVzc2FnZTogcmVzLmRhdGEubXNnLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgdHlwZTogJ2Vycm9yJyxcclxuICAgICAg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